﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;

using Whoever.Framework.Utils;

using Comswing.Data.Base;
using Comswing.Data.Core;
using Comswing.Business.Entities;

namespace Comswing.Data.Initialization
{
    public class DropCreateSeedDatabaseIfModelChanges : DropCreateDatabaseIfModelChanges<DataContext>
    {
        protected override void Seed(DataContext context)
        {
            context.User.Add(new User { Account = "jonny", Password = Cryptography.Encrypt("123123123"), Email = "test@test.com", SignupDate = DateTime.Now });
        }
    }
}
